package com.inno.life.domain.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sean
 */
@Data
public class MessagesBO implements Serializable {
    private static final long serialVersionUID = -47633287206123307L;
    /**
     * id
     */
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 消息类型
     */
    private String type;
    /**
     * 是否已读
     */
    private String isRead;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 迎合前端  id字段可废弃
     */
    private Long messageId;

    private Integer count;

    /**
     * 消息来源者的头像
     */
    private String avatar;

    /**
     * 来源id
     */
    private Long fromId;
}

